public class ClassTest1 {
	public static void main(String [] args) {
		Person Tom=new Person(1,25);
		Tom.display();
		Tom.setAge(30);
		System.out.println(Tom.getId()+"\n"+Tom.getAge());
		Tom.display();
	}

}
class Person {
	int id;
	int age;

	Person(int _id,int _age) {
		id=_id;
		age=_age;
	}
	
	int getId() {
		return id;
	}
	
	int getAge() {
		return age;
	}
	
	void setAge(int a) {
		age=a;
	}
	
	void display() {
		System.out.println("Id="+id+" Age="+age);
	}
}